package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanAlipayDao;
import com.open.system.domain.LoanAlipayDO;
import com.open.system.service.LoanAlipayService;



@Service
public class LoanAlipayServiceImpl implements LoanAlipayService {
	@Autowired
	private LoanAlipayDao loanAlipayDao;
	
	@Override
	public LoanAlipayDO get(Long id){
		return loanAlipayDao.get(id);
	}
	
	@Override
	public List<LoanAlipayDO> list(Map<String, Object> map){
		return loanAlipayDao.list(map);
	}
	
	@Override
	public List<LoanAlipayDO> listNew(Map<String, Object> map){
		return loanAlipayDao.listNew(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanAlipayDao.count(map);
	}
	
	@Override
	public int save(LoanAlipayDO loanAlipay){
		return loanAlipayDao.save(loanAlipay);
	}
	
	@Override
	public int update(LoanAlipayDO loanAlipay){
		return loanAlipayDao.update(loanAlipay);
	}
	
	@Override
	public int remove(Long id){
		return loanAlipayDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanAlipayDao.batchRemove(ids);
	}
	
}
